Skip to content

add badge to menu #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Sep 18, 2024
Merged

add badge to menu #7

merged 6 commits into from
Sep 18, 2024

Conversation

29avet1
Copy link
Collaborator

@29avet1 29avet1 commented Sep 3, 2024

Description of Problem

Proposed Solution

Additional Information

@29avet1 29avet1 self-assigned this Sep 3, 2024
Comment on lines 130 to 134
badge: 'NEW',
activeMatch: `^/(partners|developers)/`,
items: [
{ text: 'Partners', link: '/partners/' },
{ text: 'Developers', link: '/developers/' }
{ text: 'Developers', link: '/developers/', badge: 'NEW' }
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

string to MenuBadge type

@29avet1 29avet1 marked this pull request as ready for review September 18, 2024 07:03
@29avet1 29avet1 merged commit c1455ac into main Sep 18, 2024
@29avet1 29avet1 deleted the badge-for-nav branch September 18, 2024 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants